﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/General.Master" AutoEventWireup="true" CodeBehind="ManageUsers.aspx.cs" Inherits="PB.FBMembershipWebApp.Admin.ManageUsers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <h2>Manage Users</h2>
    <br />
    <br />
    <p>Users:</p> 
    <asp:Repeater ID="UsersRepeater" runat="server"  >
        <HeaderTemplate>
            <table border="0" cellpadding="2px" cellspacing="2px" width="100%" >
        </HeaderTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>     
        <ItemTemplate>           
                <tr>
                    <td style="width:105px">
                        <asp:Image ID="ProfileImage" runat="server" />
                    </td>
                    <td align="left">
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                            <tr>
                                <td align="left">
                                     <asp:Literal ID="ltlUid" runat="server" />
                                      <br />
                                      <asp:Literal ID="ltlUserName" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:CheckBox ID="IsLockedCheckBox" runat="server" Text=" Is Locked" />
                                    <br />
                                    <asp:Button ID="UpdateButton" runat="server" Text="Update User" />
                                </td>
                            </tr>
                        </table>                                               
                    </td>
                    <td>
                        <asp:CheckBoxList ID="RolesCheckBoxList" runat="server">
                        </asp:CheckBoxList>
                    </td>
                </tr>            
        </ItemTemplate>
       <%-- <AlternatingItemTemplate>
             <table border="0" cellpadding="2px" cellspacing="2px" width="100%" style="background-color:Aqua ">
                <tr>
                    <td>
                        <asp:Image ID="ProfileImage" runat="server" />
                    </td>
                    <td>
                        <asp:Literal ID="ltlUid" runat="server"></asp:Literal>
                        <br />
                        <asp:Literal ID="ltlUserName" runat="server"></asp:Literal>
                    </td>
                    <td>
                        <asp:Literal ID="ltlStartDate" runat="server"></asp:Literal>
                    </td>
                    <td>
                        <asp:CheckBox ID="IsLockedCheckBox" runat="server" />
                    </td>
                    <td>
                        <asp:CheckBoxList ID="RolesCheckBoxList" runat="server">
                        </asp:CheckBoxList>
                    </td>
                </tr>
            </table>
        </AlternatingItemTemplate>--%>
        <SeparatorTemplate>
            <tr>
                <td colspan="3">
                <hr style="width:75%; color:Gray"/>
                </td>
            </tr>
        </SeparatorTemplate>
    </asp:Repeater>
</asp:Content>
